package com.student.health.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.student.health.entity.CheckInfo;
import com.student.health.entity.Foods;
import com.student.health.utils.DTO.FoodsDaySuggestDataDTO;
import com.student.health.utils.Vo.FoodDetailVo;

import java.util.List;
import java.util.Map;

public interface FoodsService extends IService<Foods> {
    FoodsDaySuggestDataDTO getFoodDataAnalysis(CheckInfo checkInfo);

    List<Foods> getList(Foods foods);

    Page<Foods> selectPage(Map<String,Object> params);

    boolean saveFood(FoodDetailVo foods);

    boolean removeFoodsById(String id);

    FoodDetailVo getFoodById(String id);

    boolean updateFoodsById(FoodDetailVo foodDetailVo);
}
